package com.boot.exception;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * Description: 此类 为我们的自定义的异常测试类
 *
 * @Autor: Rolin
 * datetime: 05-12-22:11
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DiyException extends RuntimeException{

    @ApiModelProperty(value = "状态码")
    private String code ;
    private String msg ;
}
